//
//  RegisterViewController.h
//  gee
//
//  Created by gakaki on 11-5-16.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface RegisterViewController : UIViewController<UITextFieldDelegate> {
    
     UIButton    *btn_resert;
     UIButton    *btn_register;
    
     UIButton    *btn_background;

     UITextField *txt_username;
     UITextField *txt_password;
     UITextField *txt_email;
    
     UIBarButtonItem *bar_return;

}

@property (nonatomic, retain) IBOutlet UITextField *txt_username;
@property (nonatomic, retain) IBOutlet UITextField *txt_password;
@property (nonatomic, retain) IBOutlet UITextField *txt_email;

@property (nonatomic, retain) IBOutlet UIButton *btn_resert;
@property (nonatomic, retain) IBOutlet UIButton *btn_register;
@property (nonatomic, retain) IBOutlet UIButton *btn_background;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *bar_return;

-(IBAction)bar_return_click:(id)sender;
-(IBAction)backgroundTap:(id)sender;
-(IBAction)handleRegisterClick:(id)sender;
-(IBAction)resetText:(id)sender;

-(BOOL)register_user;

-(void)dismis_the_keyboard;


@end
